package com.freshmarket.freshmarket.controller.form;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

@Data
public class NewOrderByLimitedForm {
    private int userId;
    @Min(1)
    private int productId;
    @Min(1)
    private int buyNum;
    @Min(1)
    private int limitedTimeOfferId;
    @NotEmpty
    private String ordersPickupPhone;
    @NotEmpty
    private String ordersPickupAddress;
    @NotEmpty
    private String ordersPickupTime;
}
